package cn.bdqn.dao;

import cn.bdqn.bean.Topic;

import java.util.List;

public interface TopicDao {
    public List<Topic> getAll();
    public int del(Integer id);
    public int updTopic(Topic topic);
    public int add(Topic topic);
    public Topic getOne(Integer id);
    Integer getTotalCount();
    List<Topic> getTopicPage(Integer pageNo,Integer pageSize);
}
